package com.anlu.base.common.file.core;

import com.anlu.base.common.file.local.LocalFileProperties;
import com.anlu.base.common.file.oss.OssProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "file")
public class FileProperties {

    /**
     * 桶的名称
     */
    private String bucketName = "local";

    /**
     * 本地文件配置信息
     */
    private LocalFileProperties local;

    /**
     * oss 文件配置信息
     */
    private OssProperties oss;

}
